Leg press and hack squat machine